package yu.vert.lambda;

import io.vertx.core.Handler;

public class CreateUserImpl implements CreateUser {
    @Override
    public String create(String name, MyHandler<Result> handler) {
        handler.handle(new Result() {
            @Override
            public boolean success() {
                return true;
            }

            @Override
            public boolean fail() {
                return false;
            }
        });
        return "ok";
    }
}
